<template>
  <div>
    <develop-detail :item="item" />
  </div>
</template>
<script>
import DevelopDetail from '~/components/develop/DevelopDetail'
import Api from '~/api'
export default {
  name: 'DevelopmentDetail',
  components: {
    DevelopDetail
  },
  async asyncData ({ route, store }) {
    store.commit('setMenuState', 'development')
    const id = route.params.id
    const result = await Api.getDevelopmentDetail(id)
    const item = result.data
    return { item, id }
  }
}
</script>
<style lang="scss" scoped>
</style>
